Clarify PAT requirements for user-owned vs org-owned Projects v2#7041
Clarify PAT requirements for user-owned vs org-owned Projects v2#7041
Conversation
…rification Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
@copilot: Add integration tests in the form of an agentic workflow that tests the use of PATs from this documentation. In a dummy org/repo setup that is created and later destroyed (trial) it should check if the PAT setup descriptions and scopes and correct to successfully do the ProjectOps they claim. |
…tation Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Added an integration test workflow in commit c3d45ba that validates the ProjectOps PAT documentation. The workflow (
This is a documentation validation test that verifies accuracy without requiring actual PAT testing infrastructure. For full integration testing with real PATs and trial repositories, the TrialOps guide describes how to use the |
|
@copilot: Do actual trialOps for this kind of testing. |
…lidation Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Updated the test workflow in commit c074665 to perform actual TrialOps testing. The workflow now:
The workflow can be triggered manually via workflow_dispatch with configurable options or runs weekly on Monday. |
|
@pelikhan: Considering the latest feedback, we should think about setting up trial repos that do testing with the actual tokens based on the repo scopes defined in the documentation so that they always remain in sync and functional. What do you think? |
|
More test is better. Automate this with agents. |
|
@copilot merge main |
|
|
@copilot move this file to pkg/cli/workflows |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Plan: Clarify ProjectOps PAT Requirements
Summary of Changes
Successfully clarified the documentation and merged latest changes from main.
Documentation Updates
1. tokens.md -
GH_AW_PROJECT_GITHUB_TOKENsectionprojectscope (fine-grained PATs don't work)project+read:orgOR fine-grained PAT with explicit org access + Projects: Read+Write2. projectops.md - Token Requirements for Projects v2 section
3. safe-outputs.md - Updated
update-projectsectionMain Branch Merge
Merged latest changes from main branch including:
All tests pass and workflows compile successfully after the merge.
Note
Integration testing for these PAT requirements will be addressed in a separate PR. GitHub MCP configuration for projects also needs to be documented separately.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.